#ifndef GX_FR_PLUGIN_ENV_MAP_SAMPLE_ENTITY_H
#define GX_FR_PLUGIN_ENV_MAP_SAMPLE_ENTITY_H

#include "PointEntity.h"

namespace FinalRendering
{
	namespace Plugin
	{
		using namespace FinalRendering::Engine;

		class EnvMapSampleDesc : public IEntityDesc
		{
		public:
			static RefPtr<GxRendering::UI::Image> logoImage;
		public:
			virtual const wchar_t * ClassName();
			virtual IEntity * Create();
			virtual void Destroy(IEntity * ent);
			virtual IEntity * Create(Stream * stream);
			static IEntityDesc * GetDesc();
		};

		class EnvMapSample : public PointEntity
		{
		public:
			virtual IEntityDesc * GetDesc();
			static void InitPlugin(bool isEditor, IEngine * _engine, HMODULE module);
			static void DestroyPlugin();
		public:
			EnvMapSample();
			EnvMapSample(Stream * stream);
			virtual void EditorDraw(IView * view);
		};
	}
}

#endif